package com.example.demo.component;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

//@ConfigurationProperties(prefix = "student")
////或者直接写：@ConfigurationProperties("student")
//@Component
//@Data
//public class Student {
//
//    private int id;
//    private String name;
//    private int age;
//
//}
